package com.sz.jinzheng.service.impl;

import com.sz.jinzheng.mapper.RoleUsersMapper;
import com.sz.jinzheng.model.RoleUsers;
import com.sz.jinzheng.service.RoleUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RoleUsersServiceImpl implements RoleUsersService {
    @Resource
    private RoleUsersMapper roleUsersMapper;

    @Override
    public int addRoleUsers(RoleUsers roleUsers) {
        return roleUsersMapper.addRoleUsers(roleUsers);
    }
}
